<?php
namespace app\Admin\controller;

use think\Db;
header("Content-type: text/html; charset=utf-8");
class Index
{
    public function index()
    {

//        $conn = [ 数据库联接配置 ];
//        Db::connect($conn);
//        $result = Db::table('t_sys_Menu')->select();
//
//        dump($result);

//        $db = Db::connect("db2");
//        $data = $db->query("select * from feiwa_article limit 0,50");
//        print_r($data);
        //die();
        ob_start();
        ob_flush();
        ob_clean();
        ob_end_clean();
        return view('index');
    }
}
